package com.notary.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.notary.entity.NotaryVideo;
import com.notary.entity.po.ContractDTO;
import com.notary.entity.vo.JsonResult;
import com.notary.seal.PersonalRegisterRequest;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 公证员视频 服务类
 * </p>
 *
 * @author nicai
 * @since 2020-12-07
 */
public interface NotaryVideoService extends IService<NotaryVideo> {
    NotaryVideo getByNotaryId(Integer notaryId);

    JsonResult preview(ContractDTO dto, HttpServletRequest request);
    JsonResult getByTemplate(String templateId, HttpServletRequest request);

    JsonResult applyPersonalRegister(PersonalRegisterRequest vo, MultipartFile file);
}
